.tw-libnewslist-item {
  display: block;
  display: flex;
  align-items: center;
}

.tw-libnewslist-item-dot {
  width: 5px;
  height: 5px;
  background-color: #999;
  vertical-align: middle;
}

.tw-libnewslist-item-tit {
  flex: 1;
}

.tw-libnewslist-item-tit.xellipsis {
  // overflow: hidden;
  // white-space: nowrap;
  // text-overflow: ellipsis;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.tw-libnewslist-item-dot.xcircle {
  border-radius: 50%;
}

.tw-libnewslist-item-dot.xring {
  border-radius: 50%;
  background-color: transparent;
  border: 2px solid #999;
}

.tw-libnewslist-item-dot.xicon {
  background-repeat: no-repeat;
}

// 定制 第一条新闻是图文混合

.tw-libnewslist .tw-libnewslist-item.xfirstImage {
  align-items: start;
  margin-bottom: 30px;
}
.tw-libnewslist-item.xfirstImage .tw-libnewslist-item-img {
  position: relative;
  flex: 1;
  height: 150px;
  margin-right: 20px;
  background: #f7fafc;
}

.tw-libnewslist .tw-libnewslist-item-img img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tw-libnewslist .tw-libnewslist-item.xfirstImage .tw-libnewslist-item-cons {
  flex: 1;
}

.tw-libnewslist .tw-libnewslist-item.xfirstImage .tw-libnewslist-item-tit {
  font-weight: bold;
  font-size: 20px;
  line-height: 30px;
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  color: #333;
}

.tw-libnewslist .tw-libnewslist-item-date {
  font-family: 'Microsoft Yahei';
}

.tw-libnewslist .tw-libnewslist-item.xfirstImage .tw-libnewslist-item-date {
  margin-top: 30px;
  font-size: 18px;
  color: #666;
}

//定制 第一 二条新闻是图文混合
.tw-libnewslist .tw-libnewslist-box {
  margin: 0 -10px;
  &:after {
    display: block;
    content: '';
    clear: both;
  }
}

.tw-libnewslist .tw-libnewslist-box-col {
  float: left;
  width: 50%;
  padding: 0 10px;
}
.tw-libnewslist .tw-libnewslist-box .tw-libnewslist-item {
  display: block;
  padding: 0 !important;
}

.tw-libnewslist .tw-libnewslist-box .tw-libnewslist-item-tit {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tw-libnewslist .tw-libnewslist-box .tw-libnewslist-item-img {
  position: relative;
  height: 150px;
  background: #e3ebf0;
}

.tw-libnewslist .tw-libnewslist-box .tw-libnewslist-item {
  height: 220px;
  padding: 10px;
}

.tw-libnewslist
  .tw-libnewslist-box
  .tw-libnewslist-item.xfirsttwo
  .tw-libnewslist-item-img {
  margin-bottom: 13px;
}

.tw-libnewslist
  .tw-libnewslist-box
  .tw-libnewslist-item.xfirsttwo
  .tw-libnewslist-item-tit {
  margin-left: 0;
  margin-right: 0;
}

// 新闻模块定制照片墙
.tw-libnewslist.xphoto {
  overflow: hidden;
  border-radius: 6px;
}

.tw-libnewslist.xphoto .tw-libnewslist-item {
  display: inline-block;
  width: 33.33%;
  float: left;
}

.tw-libnewslist.xphoto .tw-libnewslist-imgbox {
  display: block;
  height: 140px;
  width: 100%;
  background: #e3ebf0;
}
.tw-libnewslist.xphoto .tw-libnewslist-imgbox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tw-libnewslist.xphoto .tw-libnewslist-news {
  position: relative;
  height: 140px;
  background: #f5f8fa;
  padding: 20px;
}

.tw-libnewslist.xphoto .tw-nodata {
  margin-top: 40px;
  font-size: 16px;
  color: #999;
  text-align: center;
}

.tw-libnewslist.xphoto .tw-libnewslist-news.xeven {
  &:before {
    position: absolute;
    content: '';
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #f5f8fa;
    margin-left: -8px;
    left: 50%;
    top: -8px;
  }
}

.tw-libnewslist.xphoto .tw-libnewslist-news.xodd {
  &:after {
    position: absolute;
    content: '';
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #f5f8fa;
    margin-left: -8px;
    left: 50%;
    bottom: -8px;
  }
}

.tw-libnewslist.xphoto .tw-libnewslist-news h3 {
  font-size: 16px;
  color: #333;
  font-weight: 700;
  margin-bottom: 10px;
}

.tw-libnewslist.xphoto .tw-libnewslist-news-tit {
  display: inline-block;
  font-size: 14px;
  color: #666;
  line-height: 30px;
  width: 100%;
}

.tw-libnewslist.xphoto .tw-libnewslist-news-tit i {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #bbb;
  border-radius: 50%;
  margin-right: 5px;
}

.tw-libnewslist.xphoto .tw-libnewslist-news-tit span {
  max-width: 90%;
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  vertical-align: middle;
}

.tw-libnewslist.xphoto .tw-libnewslist-news-more {
  float: right;
}
